home *** CD-ROM | disk | FTP | other *** search
- /*
- ** $VER: InsertVersion.bed 1.0 (02.01.96)
- **
- ** Insert an AmigaDOS version string at the current cursor position,
- ** taking the current filename and date.
- **
- ** Written by Chris Bailey
- ** Modified by Martin Taillefer
- ** Modified by Marco Negri
- */
-
- OPTIONS RESULTS
-
- GetFileInfo
- PARSE VAR RESULT . . '"'name'"'
-
- date = DATE(e);
-
- day = SUBSTR(date,1,2)
- month = SUBSTR(date,4,2)
- year = SUBSTR(date,7,2)
-
- str = "$VER: " || name || " .0 (" || day || "." || month || "." || year || ")"
- Text str
-
- MoveLeft 13
-